package com.hsteach.service.myopia;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hsteach.dao.domain.myopia.MyopiaInfo;
import com.hsteach.dao.mapper.MyopiaInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 近视档案详细业务层处理
 *
 * @author lx
 * @date 2023-07-07
 */
@Service
public class MyopiaInfoService extends ServiceImpl<MyopiaInfoMapper, MyopiaInfo> {

    @Autowired
    private MyopiaInfoMapper myopiaInfoMapper;

    /**
     * 获取档案详情
     * @param id
     * @return
     */
    public List<MyopiaInfo> getInfoList(Long id) {
        return myopiaInfoMapper.getInfoList(id);
    }
}
